package cn.edu.gdut.deepcode.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.concurrent.TimeUnit;

/**
 * <p>
 * </p>
 *
 * @Author: 暮倦
 * @Since: 2025-05-07  19:43
 * @Version: 1.0.0
 */
@ConfigurationProperties(prefix = "dc.check-canvas-id-validated-pool")
@Component
@Data
public class CheckCanvasIdValidatedExecutorServiceProperties {
    private int coreSize=3;
    private int maxSize=5;
    private long aliveTime=30;
    private TimeUnit timeUnit=TimeUnit.MINUTES;
}


